home *** CD-ROM | disk | FTP | other *** search
/ Aminet 2 / Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso / Aminet / dev / misc / ImageFXDevKit.lha / sdev / include / scan2 / hooks.h next >
Encoding:
C/C++ Source or Header  |  1992-10-02  |  630 b   |  33 lines

  1. /*
  2.  * Scan 'C' Header File
  3.  * Written by Thomas Krehbiel
  4.  *
  5.  * Standard hook header file.
  6.  *
  7.  */
  8.  
  9. #ifndef EXEC_TYPES_H
  10. #include <exec/types.h>
  11. #endif
  12.  
  13. #include <scan2/modall.h>
  14. #include <exec/execbase.h>
  15.  
  16.  
  17. void hook_main (int argc, char **argv);
  18. void hook_exit (int rc);
  19. void hook_fail (char *message);
  20.  
  21.  
  22. extern struct ScanBase        *ScanBase;
  23. extern struct IntuitionBase   *IntuitionBase;
  24. extern struct GfxBase         *GfxBase;
  25.  
  26. extern struct ExecBase        *SysBase;
  27.  
  28. extern char                  **HookTextArray;
  29.  
  30. #define TXT(i)                (HookTextArray[i])
  31.  
  32. extern char                   *GetStr(int idx, char *def);
  33.